package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Course bookmark entity representing a student's bookmarked course
 */
@Data
@TableName("course_bookmark")
public class CourseBookmark {
    
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("course_id")
    private Integer courseId;
    
    @TableField("student_id")
    private Integer studentId;
    
    @TableField("created_at")
    private LocalDateTime createdAt;
}